NuclearEngagement\Services\Implementation\StructuredLogger S

Total Complexity 34
Dependencies 2
Dependents 0
Total lines 276
Lines of code 139
Logical lines of code 64
Comment lines 87
Methods 13
Properties 5

Methods 13

Method Rating Maintainability Complexity Lines of code
get_client_ip()
S
54 5 22
format_log_entry()
S
51 4 26
rotate_log_file()
S
55 4 20
log()
S
63 5 10
ensure_log_directory()
S
61 4 13
write_to_file()
S
63 4 10
__construct()
S
63 2 9
exception()
S
62 1 12
debug()
S
79 1 3
info()
S
79 1 3
warning()
S
79 1 3
error()
S
79 1 3
should_log()
S
72 1 5